package cn.chinaunicom.admin.entity;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * @ProjectName: esay-secret-server
 * @Package: cn.chinaunicom.admin.entity
 * @ClassName: DigitalEnvelope
 * @Description: 数字信封实体类
 * @Author: wangjc
 * @CreateDate: 2023/11/22
 * @UpdateUser: wangjc
 * @UpdateDate: 2023/11/22
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
@Getter
@Setter
public class DigitalEnvelope extends BaseEntity implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -1762769646754312724L;
    /**
     * 数字信封id
     */
    private String deId;

    /**
     * 仓库id
     */
    private String compartId;

    /**
     * 仓库名称
     */
    private String compartName;

    /**
     * 批次号
     */
    private String batchNo;

    /**
     * 公钥x
     */
    private String pubKeyX;

    /**
     * 公钥y
     */
    private String pubKeyY;

    /**
     * 私钥
     */
    private String priKey;

    /**
     * 密码
     */
    private String password;

    /**
     * 数字信封类型 sm2/sm3/sm4/rsa/res/md5/pass
     * 不同类型对应不同的密钥字段
     */
    private String deType;
}
